package com.zuoyy.modules.system.domain;

import com.zuoyy.modules.common.DataEntity;
import lombok.Data;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;

import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.EntityListeners;
import javax.persistence.Table;

/**
 * @author 
 */
@Data
@Entity
@Table(name="sys_post")
@EntityListeners(AuditingEntityListener.class)
public class Post extends DataEntity implements Serializable {
    // 岗位编码
    private String postCode;
    // 岗位名称
    private String postName;
}